package com.liuxing.javaSpringBoot.modules.spider.service.impl;

import com.liuxing.javaSpringBoot.modules.common.entity.Result;
import com.liuxing.javaSpringBoot.modules.spider.dao.CoronavirusDao;
import com.liuxing.javaSpringBoot.modules.spider.entity.Coronavirus;
import com.liuxing.javaSpringBoot.modules.spider.service.CoronavirusesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * @File CoronavirusesServiceImpl.java
 * @Auth liuxing
 * @Date 2021/8/30 13:35
 * @Email liuxing997@foxmail.com
 */
@Service
public class CoronavirusesServiceImpl implements CoronavirusesService {
    @Autowired
    private CoronavirusDao coronavirusDao;

    @Override
    public List<Coronavirus> getCoronaviruses() {
        return coronavirusDao.getCoronaviruses();
    }
}
